package org.demo.honor.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.*;

@Entity
@Table(name = "order_mobile")
@AllArgsConstructor
@Getter
@Setter
@NoArgsConstructor
public class OrderMobileEntity {

    @Id
    @Column
    private Integer id;
    @Column(name = "order_id")
    private Integer orderId;
    @Column
    private String imei;

    public OrderMobileEntity(Integer orderId, String imei) {
        this.orderId = orderId;
        this.imei = imei;
    }
}
